package com.koron.ticket.workchange.ticketchangedelay.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.bean.base.BaseQueryBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class TicketChangeDelayQuery extends BaseQueryBean {

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("工作票ID")
    private String workTicketId;

    @ApiModelProperty("变更单ID")
    private String changeId;

    @ApiModelProperty("延长时间至")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date delayTime;

    @ApiModelProperty("工作负责人账户")
    private String directorAccount;

    @ApiModelProperty("工作负责人名称")
    private String directorName;

    @ApiModelProperty("值班负责人账户")
    private String dutyPersonAccount;

    @ApiModelProperty("值班负责人名称")
    private String dutyPersonName;

    @ApiModelProperty("备注")
    private String description;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
